<?php
/* Smarty version 3.1.29, created on 2016-07-22 23:25:25
  from "C:\wamp\lastPass\Home\View\header.html" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_57923ae51c5666_30265255',
  'file_dependency' => 
  array (
    '04b580bc3f8254f830fc0697f4a7d775fa76e337' => 
    array (
      0 => 'C:\\wamp\\lastPass\\Home\\View\\header.html',
      1 => 1455885552,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_57923ae51c5666_30265255 ($_smarty_tpl) {
?>
<div class="navbar navbar-fixed-top navbar-inverse">
   <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="<?php echo @constant('__MODULE__');?>
">首页</a>
        </div>
        <div class="collapse navbar-collapse">
          <ul class="nav navbar-nav">
			<!--
            <li><a href="#about">关于</a></li>
            <li><a href="#contact">博客</a></li>
			-->
          </ul>
		  <?php if ($_smarty_tpl->tpl_vars['userId']->value < 1) {?>
		  	<ul class="nav navbar-nav navbar-right ng-scope" ng-controller="user_ctrl" id="header_me">
                <li>
                    <a class="mr_15" wt-tracker="Header|Menu|Goto Signin" href="<?php echo $_smarty_tpl->tpl_vars['url']->value['root'];?>
/index.php?do=login">用户登陆</a>
                <iframe id="tmp_downloadhelper_iframe" style="display: none;"></iframe></li>
                <li>
                    <a href="<?php echo $_smarty_tpl->tpl_vars['url']->value['root'];?>
/index.php?do=register" wt-tracker="Header|Menu|Goto Apply">用户登记</a>
                </li>
                
            </ul>
			<?php }?>
		  <?php if ($_smarty_tpl->tpl_vars['userId']->value > 0) {?>
		  <ul class="nav navbar-nav navbar-right ng-scope" ng-controller="user_ctrl" id="header_me">
                <li>
                    <a href="#" wt-tracker="Header|Menu|Goto Apply">用户：<?php echo $_smarty_tpl->tpl_vars['userName']->value;?>
</a>
                <iframe id="tmp_downloadhelper_iframe" style="display: none;"></iframe></li>
                <li>
                    <a href="<?php echo @constant('__MODULE__');?>
/Manager/quitLogin " wt-tracker="Header|Menu|Goto Apply">退出</a>
                </li>
            </ul>
			<?php }?>
        </div><!--/.nav-collapse -->
      <iframe id="tmp_downloadhelper_iframe" style="display: none;"></iframe></div>
    </div><?php }
}
